package com.cdd.common.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 访客表
 */
@TableName("app_visitor")
public class AppVisitor implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userid;//用户id
    private String pic;//用户头像
    private String nick;//用户昵称
    private String phone;//用户手机号

    private Integer gustid;//来访人id
    private String gustname;//来访人昵称
    private String gustpic;//来访用户头像
    private String gustphone;//来访用户手机号

    private Date gusttime;//来访时间
    private String remark;//备注
    private Integer gustsex;//来访性别  1、男  2、女  3、未选择  默认3、未选择

    @TableField(exist = false)
    private String sign;//签名
    @TableField(exist = false)
    private AppUser user;
    @TableField(exist = false)
    private Integer isBeckoning;//是否心动，1心动，2未心动
    @TableField(exist = false)
    private String medal;
    @TableField(exist = false)
    private String gustMedal;
    @TableField(exist = false)
    private Integer isVip = 0;
    @TableField(exist = false)
    private Integer gustIsVip = 0;

    public Integer getIsBeckoning() {
        return isBeckoning;
    }

    public void setIsBeckoning(Integer isBeckoning) {
        this.isBeckoning = isBeckoning;
    }



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getGustid() {
        return gustid;
    }

    public void setGustid(Integer gustid) {
        this.gustid = gustid;
    }

    public String getGustname() {
        return gustname;
    }

    public void setGustname(String gustname) {
        this.gustname = gustname;
    }

    public String getGustpic() {
        return gustpic;
    }

    public void setGustpic(String gustpic) {
        this.gustpic = gustpic;
    }

    public String getGustphone() {
        return gustphone;
    }

    public void setGustphone(String gustphone) {
        this.gustphone = gustphone;
    }

    public Date getGusttime() {
        return gusttime;
    }

    public void setGusttime(Date gusttime) {
        this.gusttime = gusttime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getGustsex() {
        return gustsex;
    }

    public void setGustsex(Integer gustsex) {
        this.gustsex = gustsex;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public AppUser getUser() {
        return user;
    }

    public void setUser(AppUser user) {
        this.user = user;
    }

    public String getMedal() {
        return medal;
    }

    public void setMedal(String medal) {
        this.medal = medal;
    }

    public String getGustMedal() {
        return gustMedal;
    }

    public void setGustMedal(String gustMedal) {
        this.gustMedal = gustMedal;
    }

    public Integer getIsVip() {
        return isVip;
    }

    public void setIsVip(Integer isVip) {
        this.isVip = isVip;
    }

    public Integer getGustIsVip() {
        return gustIsVip;
    }

    public void setGustIsVip(Integer gustIsVip) {
        this.gustIsVip = gustIsVip;
    }
}
